//
//  Header.h
//  SOC
//
//  Created by Benson Tran on 1/6/13.
//  Copyright (c) 2013 Benson Tran. All rights reserved.
//

#ifndef core_h
#define core_h


class core {
    
    private:
    
    //instantiate chracteristics of cores
    
    int p;
    int W;
    int T;
    int w;
    int t;
    std::string color;
    
    
    //functions
    public:
    
    void init(int p, int W, int T, int w, int t);
    static int wmaxtest(core[], int Wmax, int N);
    static int overlap(core[], int Wmax, int N);
    static int makespan(core[], int N);
    static int powercheck(core[], int Pmax, int N, int * hold);
    static void latex(core[], int N, int Wmax, int Makespan);
    static void coloring(core[], std::string Colors[], int N);
    static void plot(core[], int N, int hold, int Pmax);
    

};

#endif